package com.css.zfzx.data.postgresql.qhRiskLevelMapPolygonPG.service.impl;

import com.css.zfzx.data.postgresql.qhRiskLevelMapPolygonPG.repository.QhRiskLevelMapPolygonRepository;
import com.css.zfzx.data.postgresql.qhRiskLevelMapPolygonPG.repository.entity.QhRiskLevelMapPolygonPostgresqlEntity;
import com.css.zfzx.data.postgresql.qhRiskLevelMapPolygonPG.service.QhRiskLevelMapPolygonPostgresqlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QhRiskLevelMapPolygonPostgresqlServiceImpl implements QhRiskLevelMapPolygonPostgresqlService {
    @Autowired
    private QhRiskLevelMapPolygonRepository qhRiskLevelMapPolygonRepository;


    @Override
    public void saveData(QhRiskLevelMapPolygonPostgresqlEntity postgresqlEntity) {
        qhRiskLevelMapPolygonRepository.save(postgresqlEntity);
    }
}
